/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.chalmers.se.tda367.controller;

import edu.chalmers.se.tda367.model.User;

/**
 *
 * @author pierrereimertz
 */
public class LoginController {

    public static boolean checkUserPW(User user, String password) {

        return (user.getPassword().equals(password));
    }

    public static boolean checkTeacherCode(String teacherCode) {

        if (teacherCode == "12345");
        return true;
    }
}
